<template>
  <div class="detailed">
      <div class="head"><span class="ht" @click="fun()">&lt;</span><span>积分明细</span></div>
      <div class="cen">
        <div class="md">
            <p class="rule" @click="funb()">积分规则&nbsp;&nbsp;&nbsp;&nbsp;&gt;</p>
            <div class="bot">
                <p class="fir">我的积分</p>
                <p class="fii">{{this.$store.state.num}}</p>
            </div>
            <div class="gd">
                <div class="db de"><img src="jifen.png" /><span>赚更多积分</span></div>
                <div class="db"><img src="zhiboshouyeicon-.png" /><span>去换购礼品</span></div>
            </div>
        </div>
      </div>
  </div>
</template>

<script>
export default {
    methods: {
        fun(){
            this.$router.push("/integral")
        },
        funb(){
            this.$router.push("/exp")
        }
    },
}   
</script>

<style scoped>
*{
    margin: 0;
    padding: 0;
}
div{
    font-size: 0;
}
.head{
  width: 100%;
  height:0.4rem;
  border-bottom: 0.01rem solid rgb(190, 170, 170);
  position: fixed;
  top: 0;
  z-index: 999;
  background-color: #fff;
}
.head span{
    font-size: 0.14rem;
    line-height: 0.4rem;
}
.head .ht{
  font-size: 0.26rem;
  padding:0 0.2rem;
  color:red;
}
.cen{
  position: absolute !important;
  position: relative;
  top: 0.4rem !important;
  width: 100%;
  height: 100%;
  
}
.md{
    width: 100%;
    height: 3rem;
    /* background-color: rgb(216, 79, 79); */
    border-bottom: 0.01rem solid rgb(190, 156, 156);
}
.md .rule{
    font-size: 0.10rem;
    float: right;
    margin: 0.2rem 0.2rem 0 0;
}
.bot{
    width: 1.4rem;
    height: 1.4rem;
    /* background-color: rgb(41, 141, 124); */
    text-align: center;
    margin: auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.bot p{
    font-size: 0.12rem;
    line-height: 0.8rem;
}
.bot .fii{
    line-height: 0;
    font-size: 0.20rem;
}
.gd{
    width: 90%;
    height: 0.4rem;
    /* background-color: rgb(218, 201, 53); */
    margin: auto;
    position: relative;
    top: 1.21rem;
}
.gd .db{
    width: 49%;
    height: 0.4rem;
    float: left;
    text-align: center;
    line-height: 0.4rem;
    border-top: 0.01rem solid rgb(190, 156, 156);
}
.gd .de{
    border-right: 0.01rem solid rgb(190, 156, 156);
}
.gd .db img{
    width: 0.2rem;
    height: 0.2rem;
    float: left;
    margin-left: 0.4rem;
    margin-top: 0.1rem;
}
.gd .db span{
    font-size: 0.12rem;
    margin-left: 0.2rem;
    display: block;
    margin-right: 0.2rem;
}
</style>